package com.jxt.myapp.domain;

import java.io.Serializable;

/**
 * 权限菜单
 * 
 * @author liukai
 * 
 */
public class Menu implements Serializable {

	private static final long serialVersionUID = -5312712628936463671L;

	/**
	 * 权限菜单ID
	 */
	private int id;

	/**
	 * 权限名称
	 */
	private String name;

	/**
	 * URL页面
	 */
	private String url;

	/**
	 * 上级权限菜单ID
	 */
	private String pid;

	public Menu() {
	}

	public Menu(int id, String name, String url, String pid) {
		super();
		this.id = id;
		this.name = name;
		this.url = url;
		this.pid = pid;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

}
